package com.fh.shop.admin.param.product;

import com.fh.shop.admin.common.PageBean;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProductQueryParam extends PageBean implements Serializable {
    private String productName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    private BigDecimal startPrice;
    private BigDecimal endPrice;
    private Integer startStock;
    private Integer endStock;
    private Long brand;
    private Long cate1;
    private Long cate2;
    private Long cate3;
}
